<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>CSS3变形</title>
<style>
	#main{ width:200px; height:200px; border:1px black solid; }
	#box{ width:100px; height:100px; background:red; 
		transform:skew(30deg,30deg); 	
		transform-origin:left top; }
</style>
</head>
<body>
<div id="main">
	<div id="box"></div>
</div>
</body>
</html>
